const packageJson = require('../package.json');

// 阿里云OSS秘钥
export const aliyun_oss_account = {
  accessKey: 'LTAI5t9crh53y48FXxp1zmQE',
  accessSecret: 'bDFZssg9HmEUblPijkRfHKCAiTBDZh'
};
// 阿里云OSS Bucket名称
export const bucket_name = 'breaktech';
// 阿里云OSS matlab项目存放目录
export const matlabFolderName = 'user';
// 阿里云OSS 函数库及函数存放目录
export const libraryFolderName = 'userLibrary';
// 阿里云OSS 函数库系统配置文件存放目录 函数依赖 测试文件 config.yaml
export const templateFolderName = 'userTemplates';

export default {
  debug: true,

  /**
   * @type {String} '0.0.1'
   * @description Application version.
   * After the release of the new version, it is reset to the default settings.
   */
  version: packageJson.version,

  /**
   * @type {String} 'localStorage' | 'sessionStorage'
   * @description Storage for user settings and sessions.
   */
  storage: 'localStorage',

  /**
   * @type {String} 'jrsy_'
   * @description Key prefix for data in storage.
   */
  prefix: 'kaitian_',

  /**
   * @type {Number} 604800
   * @description User session storage time in seconds.
   * Default 7 days
   */
  ttl: 7 * 24 * 60 * 60
};
